<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
		var str="一级标题，二级标题，三级标题，四级标题";
		var arr=str.split("，")
		for(var i=0;i<arr.length;i++){
			document.write(arr[i]+"<br/>");
		}
			</script>
	
	</body>
</html>
